﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PersonaLibrary.View.ExcelView;

namespace PersonaLibrary.Commands.Excel
{
    public sealed class BirthdayExportCommand : CommandBase
    {
        public override bool CanExecute(object parameter)
        {
            return true;
        }

        public override void Execute(object parameter)
        {
            ViewModel.ExcelViewModel.ExportBirthdayVM exp = new ViewModel.ExcelViewModel.ExportBirthdayVM();
			ExcelView excelView = new ExcelView {DataContext = exp};
        	excelView.ShowDialog();
        }
    }
}
